From a793050c3966c0da97a5054af74c2a8c79dbd618 Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 7 Jan 2004 02:19:58 +0000 Subject: [PATCH] Fix leaktest. --- gpsbabel/ozi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/ozi.c b/gpsbabel/ozi.c index e224a568f..b55543f40 100644 --- a/gpsbabel/ozi.c +++ b/gpsbabel/ozi.c @@ -581,8 +581,8 @@ ozi_waypt_pr(const waypoint * wpt) index, shortname, wpt->latitude, wpt->longitude, ozi_time, 0, 1, 3, 0, 65535, description, 0, 0, 0, alt_feet, 6, 0, 17); - free(description); - free(shortname); + xfree(description); + xfree(shortname); } -- 2.30.2